
function covert(value) {
    let res=""
    return res
}

test()

function test() {
    let fs = require("fs")
    let numberstr = (fs.readFileSync("d:/test/question/4/number.txt")).toString()
    let answerstr = (fs.readFileSync("d:/test/question/4/answer.txt")).toString()
    nums = numberstr.split("\n")
    ans = answerstr.split("\n")
    if(nums.length != ans.length){
        console.info("测试用例有误")
    }
    for (let i=0;i<nums.length;i++){
        console.info(covert(nums[i].trim()))
        if (covert(nums[i].trim())==ans[i].trim()){
            console.info(`测试 ${i+1} pass`)
        }else {
            console.info(`测试 ${i+1} failed`)
        }
    }
}